package com.hl.card.modular.pack.service;

import com.baomidou.mybatisplus.service.IService;
import com.hl.card.common.persistence.model.CollectAddress;

import java.util.List;

public interface CollectAddressService extends IService<CollectAddress> {
	/**
	 * 添加收件人地址
	 * @param collectAddress
	 * @return
	 */
	public int insertCollectAddress(CollectAddress collectAddress);

	public int updateCollectAddress(CollectAddress collectAddress);

	public int deleteCollectAddress(CollectAddress userId);

	public void selectCollectAddress(String userId);

	List<CollectAddress> list(String userId);

	public int modifyWhetherAddress(CollectAddress collectAddress);

	public int modifyWhetherAddressAll(CollectAddress collectAddress);

}
